package com.pai4j.domain.community;

import lombok.Data;

/**
 *
 *
 * @author: CYM-pai
 * @date: 2025/10/31 12:01
 **/
@Data
public class UploadResultVO {

    private Boolean success;

    /***
     * 上传OSS URL
     */
    private String url;

    /**
     * 上传OSS后的随机文件名称
     */
    private String fileName;

    /***
     * 文件大小, KB
     */
    private Long fileSize;

    private String extName;

    public UploadResultVO() {
        this.success = true;
    }

    public UploadResultVO(boolean success) {
        this.success = success;
    }
}
